package com.ruoyi.am.domain;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 行车日志对象 am_driving
 * 
 * @author hkkk
 * @date 2020-11-29
 */
public class AmDriving extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long drivingId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String carId;

    /** 日期 */
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JSONField(format="MM-dd ,yy HH:mm:ss")
    private Date drivingTime;

    /** 班次 */
    @Excel(name = "班次")
    private String orders;

    /** 急救 */
    @Excel(name = "急救")
    private String jijiu;

    /** 转院 */
    @Excel(name = "转院")
    private String zhuanyuan;

    /** 出院 */
    @Excel(name = "出院")
    private String chuyuan;

    /** 长途 */
    @Excel(name = "长途")
    private String trip;

    /** 收车里程 */
    @Excel(name = "收车里程")
    private String mile;

    /** 总收入 */
    @Excel(name = "总收入")
    private String income;

    /** 长途收入 */
    @Excel(name = "长途收入")
    private String tripIncome;

    /** 副驾驶 */
    @Excel(name = "副驾驶")
    private String cp;

    /** 问题与处置 */
    @Excel(name = "问题与处置")
    private String problem;

    public int getPostId() {
        return postId;
    }

    public void setPostId(int postId) {
        this.postId = postId;
    }

    private int  postId;

    public void setDrivingId(Long drivingId) 
    {
        this.drivingId = drivingId;
    }

    public Long getDrivingId() 
    {
        return drivingId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setDrivingTime(Date drivingTime) 
    {
        this.drivingTime = drivingTime;
    }

    public Date getDrivingTime() 
    {
        return drivingTime;
    }
    public void setOrders(String orders) 
    {
        this.orders = orders;
    }

    public String getOrders() 
    {
        return orders;
    }
    public void setJijiu(String jijiu) 
    {
        this.jijiu = jijiu;
    }

    public String getJijiu() 
    {
        return jijiu;
    }
    public void setZhuanyuan(String zhuanyuan) 
    {
        this.zhuanyuan = zhuanyuan;
    }

    public String getZhuanyuan() 
    {
        return zhuanyuan;
    }
    public void setChuyuan(String chuyuan) 
    {
        this.chuyuan = chuyuan;
    }

    public String getChuyuan() 
    {
        return chuyuan;
    }
    public void setTrip(String trip) 
    {
        this.trip = trip;
    }

    public String getTrip() 
    {
        return trip;
    }
    public void setMile(String mile) 
    {
        this.mile = mile;
    }

    public String getMile() 
    {
        return mile;
    }
    public void setIncome(String income)
    {
        this.income = income;
    }

    public String getIncome()
    {
        return income;
    }
    public void setTripIncome(String tripIncome) 
    {
        this.tripIncome = tripIncome;
    }

    public String getTripIncome() 
    {
        return tripIncome;
    }
    public void setCp(String cp) 
    {
        this.cp = cp;
    }

    public String getCp() 
    {
        return cp;
    }
    public void setProblem(String problem) 
    {
        this.problem = problem;
    }

    public String getProblem() 
    {
        return problem;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drivingId", getDrivingId())
            .append("name", getName())
            .append("carId", getCarId())
            .append("drivingTime", getDrivingTime())
            .append("orders", getOrders())
            .append("jijiu", getJijiu())
            .append("zhuanyuan", getZhuanyuan())
            .append("chuyuan", getChuyuan())
            .append("trip", getTrip())
            .append("mile", getMile())
            .append("income", getIncome())
            .append("tripIncome", getTripIncome())
            .append("cp", getCp())
            .append("problem", getProblem())
            .append("createTime", getCreateTime())
            .toString();
    }
}
